package com.study.transaction_1;

import com.study.util.JDBCUtils;
import org.junit.Test;

import java.sql.Connection;

public class ConnectionTest {
	
	@Test
	public void testGetConnection() throws Exception{
		Connection conn = JDBCUtils.getConnection();
		System.out.println(conn);
		// 输出 ：com.mysql.jdbc.JDBC4Connection@6c629d6e
	}
}
